package com.jx.driving.request;

import com.jx.driving.message.TimeTerminalRequestMessage;
import com.jx.driving.protocol.terminal.annotation.ByteAnnotation;
import com.jx.driving.protocol.terminal.annotation.LimitedStringAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 查询用户信息请求
 * @author wangzhengtao
 *
 */
@TerminalAnnotation
public class Terminal0x0703Request extends TimeTerminalRequestMessage {
	private static final long serialVersionUID = 4173143660369282019L;

	@ByteAnnotation(order = 1)
	private short userType;
	@LimitedStringAnnotation(order = 2, value = 16)
	private String unifiedNum;

	public short getUserType() {
		return userType;
	}

	public void setUserType(short userType) {
		this.userType = userType;
	}

	public String getUnifiedNum() {
		return unifiedNum;
	}

	public void setUnifiedNum(String unifiedNum) {
		this.unifiedNum = unifiedNum;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("Terminal0x0703Request [userType=").append(userType).append(", unifiedNum=").append(unifiedNum)
				.append("]");
		return builder.toString();
	}

}
